#include "gtest/gtest.h"
#include "BattleMap.h"
#include "SoldierNormal.h"

TEST(BattleMapTest, BattleMap)
{
	BattleMap battlemap(6, 8);

	SoldierNormal* pSoldier = new SoldierNormal(SOLDIER_RACE_HUMAN, SOLDIER_TYPE_BLUE);
	battlemap.AddSoldierToMap(pSoldier);

	const unsigned int* pMap = pSoldier->GetOwnMap();

	printf("%d\n", pMap[0]);

	EXPECT_EQ(true, pMap[0] > 0);
}